export default (function () {
  const validator = {}
  const modules = import.meta.glob('./*.js', { eager: true })
  for (const path in modules) {
    validator[modules[path].default.name] = modules[path].default.validator
  }
  return validator
})()
